package com.pinxixi.search.client;

import com.pinxixi.framework.client.PxxServiceList;
import com.pinxixi.framework.domain.specification.SpecificationOption;
import com.pinxixi.framework.domain.template.Template;
import com.pinxixi.framework.model.response.ListResponseResult;
import com.pinxixi.framework.model.response.QueryResponseResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient(PxxServiceList.PINXIXI_SERVICE_SPECIFICATION)
public interface SpecificationApiClient {

    @GetMapping("/specification/findOptions/{id}")
    public ListResponseResult<SpecificationOption> findOptionsBySpecId(@PathVariable("id") Integer id);

}
